package indi.jp.project.core.entity;

/**
 * 雪花算法配置类
 *
 * @author jiangping
 * @date 2022/3/4
 */
public class SnowFlake {

    /**
     * 机器ID
     * 值为0～31
     */
    private int machineId;

    /**
     * 数据中心ID
     * 值为0～31
     */
    private int dataCenterId;

    public int getMachineId() {
        return machineId;
    }

    public void setMachineId(int machineId) {
        this.machineId = machineId;
    }

    public int getDataCenterId() {
        return dataCenterId;
    }

    public void setDataCenterId(int dataCenterId) {
        this.dataCenterId = dataCenterId;
    }
}
